import log from '../log';
import { setMeasurements } from '../redux/actions';

export const onMeasurementsUpdated = measurements => {
  window.store.dispatch(setMeasurements(measurements));
};

export const retrieveMeasurements = () => {
  log.error('retrieveMeasurements');
  return Promise.resolve();
};

export const storeMeasurements = (measurementData) => {
  log.error('storeMeasurements');
  return Promise.resolve();
};
